import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from './store'
import './registerServiceWorker'
import '@/plugins/element.js'
import api from '@/api/index.js'
import globalData from '@/common/global'
import echarts from 'echarts'

Vue.prototype.$echarts = echarts 

Vue.config.productionTip = false
Vue.prototype.GLOBAL = globalData
Vue.prototype.$http = api

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
